//
//  DepositRecordTableViewCell.m
//  CYWFrame
//
//  Created by 于顺燊 on 2018/10/19.
//  Copyright © 2018年 Macx. All rights reserved.
//

#import "DepositRecordTableViewCell.h"

@implementation DepositRecordTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(DepositRecordModel *)model
{
	if (_model != model) {
		_model = model;
	}
	self.orderNum.text = model.code;
	self.companyName.text = model.title;
	self.name.text = model.name;
	self.createdTime.text = model.create_time;
	self.deposit.text = model.bond;
	self.chatroomId.text = model.chatroom_id;
}

- (void)setFrame:(CGRect)frame
{
	frame.origin.y += 10;
	
	frame.size.height -= 10;
	
	[super setFrame:frame];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
